package com.jetinno.jetinnosystem;

import android.content.Context;
import android.content.Intent;
import android.util.Log;

/**
 * Created by zhangyuncai.
 * Date: 2022/9/30
 */
public class DogLog {

    private static final String TAG="DogLog";

    public static void e(String tag, String logMsg) {
        Log.e(tag, logMsg);
    }

    // 用户操作
    public static void logOperation(Context applicationContext,String logContent) {
        Intent intent = new Intent(HbConstant.JETINNO_COFFEE_LOG_ACTION);
        intent.putExtra(HbConstant.JETINNO_COFFEE_LOG_MESSAGE, logContent);
        intent.putExtra(HbConstant.JETINNO_COFFEE_LOG_CLASSNAME, TAG);
        intent.putExtra(HbConstant.JETINNO_COFFEE_LOG_LOGTYPE, "operation");
        applicationContext.sendBroadcast(intent);
    }
}
